# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from .models import *

# Register your models here.
@admin.register(Detail_info)
class DetailAdmin(admin.ModelAdmin):
    list_display = ['type_number', 'detail_number', 'detail_name', 'pm_name', 'prd_name', 'status_name', 'start_date', 'running_date', 'end_date']
    # 设置哪些字段可以点击进入编辑界面
    list_display_links = ('detail_number', 'detail_name')

admin.site.register(Type_info)
admin.site.register(Status_info)